package com.tj.shopping.service;

import com.tj.shopping.entity.Admin;
import com.tj.shopping.entity.User;
import com.tj.shopping.vo.ResultVO;


import java.util.Map;

public interface IAdminService {

    Map<String,Object> findbyid (Map<String,Object> map);


    Map<String,Object> findall ();


    int update(Admin admin);


    int add(Admin admin);

    Admin login(String uname, String upwd);
}
